<?php
namespace app\index\controller;

use think\Controller;
use think\Cache;
use ServS\WeiXin\JssdkApi;
/**
  *jssdk 
  */
class Jssdk extends Controller
{
	 public function index(){
      $jsskd = new JssdkApi("wx3dafcbf8b628d3da","6e68f4d43a6bb87bae446005530b9d20");
      $wexin = $jsskd ->getSignPackage();
      dd($wexin);
      $this->assign('wexin',$wexin);
      return $this->fetch("jssdk/index");
   }
  
}